package com.jhhc.FloodForecast.Calculate.Forecast.Dao;

import com.jhhc.FloodForecast.Calculate.Forecast.Pojo.BDMS_CALCULATESCHEME_M;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BDMS_CALCULATESCHEME_MMapper {
    int deleteByPrimaryKey(String cschemeid);

    int insert(BDMS_CALCULATESCHEME_M record);

    BDMS_CALCULATESCHEME_M selectByPrimaryKey(String cschemeid);

    List<BDMS_CALCULATESCHEME_M> selectAll();

    int updateByPrimaryKey(BDMS_CALCULATESCHEME_M record);

    List<BDMS_CALCULATESCHEME_M> select(@Param("ProjectId") Integer ProjectId
            , @Param("UserID") String UserID, @Param("ForecastSchemeID") String ForecastSchemeID);

    List<BDMS_CALCULATESCHEME_M> getCalSchemeInfos(@Param("ProjectId") Integer ProjectId
            , @Param("UserID") String UserID, @Param("ForecastSchemeID") String ForecastSchemeID
            , @Param("IsCalculateTM") boolean IsCalculateTM ,@Param("StartTM") String StartTM,@Param("EndTM") String EndTM
            ,@Param("IsSave") String IsSave,@Param("IsPublish") String IsPublish);
}